﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static System.Net.Mime.MediaTypeNames;

namespace CoreShop.Model
{
    public partial class activitygoods
    {
        /// <summary>
        /// id
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "activityGoodsId", IsPrimaryKey = true)]
        public long activityGoodsId { get; set; }
        /// <summary>
        /// 活动主id
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "activityInfoId", IsNullable = true)]
        public long activityInfoId { get; set; }
        /// <summary>
        /// 商品编码
        /// </summary>  
        [SqlSugar.SugarColumn(ColumnName = "spuId", IsNullable = true)]
        public long spuId { get; set; }

        /// <summary>
        /// 规格编码
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "pdtSpuSpecId", IsNullable = true)]
        public long? pdtSpuSpecId { get; set; }
        /// <summary>
        /// 商品数量
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "qty", IsNullable = true)]
        public decimal? qty { get; set; }
        /// <summary>
        /// 商品价格
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "price", IsNullable = true)]
        public decimal? price { get; set; }
        /// <summary>
        /// 零售价
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "saPrice", IsNullable = true)]
        public decimal? saPrice { get; set; }
        /// <summary>
        /// 进货价
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "poPrice", IsNullable = true)]
        public decimal? poPrice { get; set; }
        /// <summary>
        /// 每单限量
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "limitQty", IsNullable = true)]
        public decimal? limitQty { get; set; }
        /// <summary>
        /// 活动状态 0有效 1终止
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "lineStatus", IsNullable = true)]
        public int? lineStatus { get; set; }

        /// <summary>
        /// 终止时间
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "cacelTime", IsNullable = true)]
        public DateTime? cacelTime { get; set; }
    }
}
